package com.zch.market.service;

import java.util.List;
import java.util.Map;

import com.zch.market.entity.User;

public interface UserService {
	public List<User> getUserByPage(String userName,int pageIndex);
	public int getTotalPage(String userName);
	public User getUserById(int id);
	public boolean addUser(User user);
	public boolean deleteUser(int id);
	public boolean updateUser(User user);
	public Map<String, Object> login(String userName,String password);
	int getTotalCount(String userName);
}
